package com.ldzy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ldzy.pojo.Housing;
import com.ldzy.utilts.RespUtil;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface IHousingService extends IService<Housing> {
    Housing getByIdHousing(Housing housing);
    RespUtil updateByHouseNumberWater(Housing housing);
    RespUtil updateByHouseNumberPower(Housing housing);
    RespUtil updateByHouseRevise(Housing housing);
    List<Housing> getAllHousing();
    Housing getByHouseNumberHousing(Housing housing);
}
